/*
 * Copyright 2000-2020 ALPHA LAB.Inc All Rights Reserved.
 */
package com.alphalab.framework.domain; 

/**
 * 封装前端查询条件的查询条件对象，用于场景层.
 * @author allen 
 * @version 1.0.0 2017年7月11日
 */
public class ItemCondition extends AbstractValueObject {

	/**
	 * 属性名.
	 */
	private String conditionField;
	/**
	 * 操作符，0-9，各数值代表值可参考QueryOperatorEnum.
	 */
	private String operator;
	/**
	 * 值，如字符串、数值、date类型.
	 */
	private Object value;
	/**
	 * 文本.
	 */
	private String text;
	
	/**
	 * getConditionField.
	 * @return the conditionField
	 */
	public String getConditionField() {
		return conditionField;
	}
	
	/**
	 * setConditionField.
	 * @param newConditionField the conditionField to set
	 */
	public void setConditionField(final String newConditionField) {
		this.conditionField = newConditionField;
	}
	
	/**
	 * getOperator.
	 * @return the operator
	 */
	public String getOperator() {
		return operator;
	}
	
	/**
	 * setOperator.
	 * @param newOperator the operator to set
	 */
	public void setOperator(final String newOperator) {
		this.operator = newOperator;
	}
	
	/**
	 * getValue.
	 * @return the value
	 */
	public Object getValue() {
		return value;
	}
	
	/**
	 * setValue.
	 * @param newValue the value to set
	 */
	public void setValue(final Object newValue) {
		this.value = newValue;
	}
	
	/**
	 * getText.
	 * @return the text
	 */
	public String getText() {
		return text;
	}
	
	/**
	 * setText.
	 * @param newText the text to set
	 */
	public void setText(final String newText) {
		this.text = newText;
	} 
	
}
